package com.biz.hunter.service;
import com.biz.hunter.db.entity.Order;
import com.biz.hunter.db.entity.OrderDesc;
import com.biz.hunter.db.entity.OrderInterview;
import com.biz.hunter.db.entity.OrderLeave;
import com.biz.hunter.db.entity.OrderPlan;
import com.biz.hunter.db.entity.OrderResume;
import com.biz.hunter.db.entity.OrderSalary;


public interface IOrderService {
	
	public Order getById(int Id);
	public OrderDesc getOrderDescById(long Id);
	public long saveOrderResume(OrderResume resume);
	public long updOrderResume(String fileupd,String time,long id);
	public OrderResume getByOrderId(long orderId);
	public OrderSalary getSalaryById(long Id);
	public OrderSalary getSalaryByOrderId(long orderId);
	public long saveOrderSalary(OrderSalary salary);
	public OrderInterview getInterviewById(long Id);
	public OrderInterview getInterviewByOrderId(long orderId);
	public long saveOrderInterview(OrderInterview interview);
	public OrderPlan getPlanById(long Id);
	public OrderPlan getPlanByOrderId(long orderId);
	public long saveOrderPlan(OrderPlan plan);
	public OrderResume getResumeById(long id);
	/**
	 * get leave id
	 * @param Id
	 * @return
	 */
	public OrderLeave getLeaveById(long Id);
	public OrderLeave getLeaveByOrderId(long orderId);
	public long saveOrderLeave(OrderLeave leave);
	public int updDiffPrice(Integer priceDiffTime,Integer priceDiffMoney,Integer orderId);
	
}
